<?$this->load->library('form_validation');?>
<div class="container">
	<div class="module mod-line-top">
	<?=validation_errors('<div class="alert alert-danger">', '</div>'); ?>
	
	<form id="question-form" name="question-form" action="<?=site_url('admin/level/add')?>" method="post">
		<h2>Add Level</h2>
		<div class="row">
			<div class="form-group col-md-6">
				<label>Level Name</label>
				<input class="form-control" maxlength="10" name="l_name" type="text" value="<?=set_value('l_name')?>">	
			</div>
			<div class="form-group col-md-6">
				<label>Description</label>
				<input class="form-control" maxlength="10" name="l_desc" type="text" value="<?=set_value('l_desc')?>">	
			</div>
		</div>
		
		<div class="form-actions">
			<button type="submit" class="btn btn-primary">Submit</button>
	  		<button type="reset" class="btn btn-default">Reset</button>
		</div>
	</form>
	</div>
</div>

<!--
<div class="container">
	<div class="module mod-line-top">
	<h2>Selected Questions</h2>
	<?php include 'qlist.php';?>
	</div>
</div>-->

<!--
<script type="text/javascript" src="/external/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
				mode : "textareas",
				plugins : "table",
				table_styles : "Header 1=header1;Header 2=header2;Header 3=header3",
		        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,bullist,numlist,|,image,|,forecolor,|,code",
				theme_advanced_buttons2 : "formatselect,fontsizeselect,|,tablecontrols",
				theme_advanced_buttons3 : ""
				
			});
</script>-->

